﻿using System;
using System.Collections.ObjectModel;
using System.Text;

namespace Chart.Net
{
    public abstract class PieChart : Chart
    {
        protected Collection<Pie> pies = new Collection<Pie>();

        public Collection<Pie> Pies
        {
            get { return pies; }
        }

        public class Pie
        {
            public string Key { get; set; }
            public string Value { get; set; }

            public Pie(string key, string value)
            {
                this.Key = key;
                this.Value = value;
            }
        }
    }
}
